package com.shiminghui.String;

public class StringFanZhuan {
    public static void main(String[] args) {


        System.out.println(reverser("abc"));
    }

    public static String reverser(String s){
        String string = "";
        for (int i = s.length()-1; i >=0; i--) {
            string = string+s.charAt(i);
        }
        return string;

    }
}
